package client.construct.prototype;

import org.junit.Test;
import uml.construct.prototype.Prototype;
import uml.construct.prototype.Sheep;

/**
 * 原型--客户端<br>
 * on 2022/12/19 22:30
 */
public class Client {
    @Test
    public void t() throws CloneNotSupportedException {
        Sheep doly = new Sheep("doly", 26);
        Prototype clonedDoly = doly.cloned();
        System.out.println(clonedDoly);
    }
}
